<%@ page language="java" import="dao.*" pageEncoding="UTF-8" %>
 <%@ page language="java" import="java.util.*" %>
 <%@page import="util.*" %>
 <%@ include file="head.jsp" %>


<div style="padding: 10px" class="admin-content">
    <% Map map = Query.make("jiaoshixinxi").where("id", request.getParameter("id")).find(); %>


    <div class="panel panel-default">
        <div class="panel-heading">教师信息详情</div>
        <div class="panel-body">
            <div class="admin-detail clearfix">
                <div class="detail detail-text">
                    <div class="detail-title">工号：</div>
                    <div class="detail-content"><%= map.get("gonghao") %></div>
                </div>
                <div class="detail detail-text">
                    <div class="detail-title">姓名：</div>
                    <div class="detail-content"><%= map.get("xingming") %></div>
                </div>
                <div class="detail detail-text">
                    <div class="detail-title">联系电话：</div>
                    <div class="detail-content"><%= map.get("lianxidianhua") %></div>
                </div>
                <div class="detail detail-text">
                    <div class="detail-title">职称：</div>
                    <div class="detail-content"><%= map.get("zhicheng") %></div>
                </div>
                <div class="detail detail-password">
                    <div class="detail-title">密码：</div>
                    <div class="detail-content"><%= map.get("mima") %></div>
                </div>
                <div class="detail detail-select">
                    <div class="detail-title">性别：</div>
                    <div class="detail-content"><%= map.get("xingbie") %></div>
                </div>
                <div class="detail detail-select">
                    <div class="detail-title">班级：</div>
                    <div class="detail-content"><% Map mapbanjixinxi9 = new CommDAO().find("SELECT banjimingcheng,id FROM banjixinxi where id='" + map.get("banji") + "'"); %>
<%= mapbanjixinxi9.get("banjimingcheng") %></div>
                </div>
                <div class="detail detail-date">
                    <div class="detail-title">入职时间：</div>
                    <div class="detail-content"><%= map.get("ruzhishijian") %></div>
                </div>
                <div class="detail detail-image">
                    <div class="detail-title">照片：</div>
                    <div class="detail-content">
                        <img src="<%= map.get("zhaopian") %>" style="width: 350px" />
                    </div>
                </div>
            </div>

            <div class="button-list mt10">
                <div class="">
                    <button type="button" class="btn btn-default" onclick="history.go(-1);">返回</button>
                    <button type="button" class="btn btn-default" onclick="window.print()">打印本页</button>
                </div>
            </div>
        </div>
    </div>
</div>
<%@ include file="foot.jsp" %>

